<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="google-site-verification" content="yaeorbXgKPwp5BDegBtAJEHYWFEFE-BViWTj74gJPrw" />
<!--  -->
<link href="/css/default.css" type="text/css" rel="stylesheet" />
<!--  -->
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/lang/cn.js"></script>
<script type="text/javascript" src="/js/mac/core.min.js"></script>
<title></title>
<meta name="description" content="" />
<meta name="keywords" content="JQuery Menu Plugin" />
<script type="text/javascript" src="/js/mac/webapp.min.js"></script>
<script type="text/javascript" src="/js/mac/contextMenu.min.js"></script>
<link href="/css/default/mac/menu/menu.min.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/js/mac/menu.min.js"></script>
<script type="text/javascript">
$(function(){
	$('#nav_jump').change(function(){
		location = './' + this.value + '.html';
	}).val('custom2');
	$('.demoSource').val($('#demo').html());
});
</script>
</head>
<body>
<div id="head">
	<a href="/"><img src="/css/images/logo_s.png" alt="logo" /></a>
	<div class="title">BOARSOFT.COM</div>
	<div class="right">
		<div>
			<a href="/public/lang.php?l=en">English</a>
			|
			<a href="/public/lang.php?l=cn">简体中文</a>
			|
			<a href="http://activemq.apache.org/" target="_blank">ActiveMQ</a>
			|
			<a href="https://redis.io/" target="_blank">Redis</a>
			|
			<a href="http://www.jquery.com/" target="_blank">JQuery</a>
		</div>
	</div>
</div><div id="nav">
	<div id="nav_path">
		&nbsp;&nbsp;
		<a href="/">Home</a>
		&gt;
		<a href="/mac/js">Javascript</a>
		&gt;
		<a href="/mac/js/menu">JQuery MagicMenu</a>
		&gt;
			</div>
	<div id="nav_back">
		<a href="/mac/js/menu/doc" target="_blank">文档</a>
		|
		<a href="javascript:history.back()">后退</a>
		|
		<a href="/mac/js#menu">下载</a>
		|
		<select id="nav_jump">
			<option value="basic">JQuery MagicMenu 基础示例</option>
			<option value="context">JQuery MagicMenu 右键菜单</option>
			<option value="custom1">自定义样式1</option>
			<option value="custom2">自定义样式2</option>
		</select>
		&nbsp;&nbsp;
	</div>
	<div class="clear"></div>
</div>
<div class="demoInfo">
	<h2 class="demoTitle"></h2>
</div>
<div id="demo" class="demoPanel"><style type="text/css">
.menu2 { width: 240px; border: none; }
.menu2 li { width: 120px; float: left; }
.menu2 li ul {
	min-width: 120px; max-width: 360px; background-color: #333;
	white-space: nowrap; display: inline-block;
}
.menu2 li ul li { white-space: nowrap; display: inline-block; }
</style>
<script type="text/javascript">
$(function(){
	var mu = $('#menuDemo').mac('menu', {
		children: [{
			title : 'MenuA',
			icon: 'icon-newwin'
		},{
			title : 'MenuC',
			icon: 'icon-newwin'
		},{
			title : 'MenuB',
			icon: 'icon-newwin',
			submenuWidth: 360,
			children: [{
				title : 'MenuB1'
			},{
				title : 'MenuB2'
			},{
				title : 'MenuB3'
			},{
				title : 'MenuB4'
			}]
		},{
			title : 'MenuD',
			icon: 'icon-newwin'
		},{
			title : 'MenuE',
			icon: 'icon-newwin'
		}]
	});
	$('#demo').contextMenu({
		menu : mu,
		button: 3,//3: right click, 1: left click
		onPopup : function(el) {
			//onPopup event
		},
		//location: 'mouse',
		offset: { x: 0, y: 0 }
	}, function(action, el, pos) {
		alert(action);
		return false;
	});
});
</script>
Please <b>Right Click</b> on this panel.
<ul id="menuDemo" class="contextMenu menu2"></ul></div>
<textarea class="demoSource" wrap="off"></textarea>
<iframe src="/mac/js/related.php" class="related"></iframe>
<div id="foot">
Copyright © 2011. All rights reserved&nbsp;&nbsp;蜀ICP备11014774号-1&nbsp;&nbsp;
QQ: 7213571&nbsp;&nbsp;E-mail: pyh_jerry@163.com&nbsp;&nbsp;
<!-- 
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Ffc0b0282216be3d16055855d8c0e72d9' type='text/javascript'%3E%3C/script%3E"));
</script>
&nbsp;&nbsp;
 -->
</div></body>
</html>
